package net.uhuijia.software.softwareQcode.service;

import net.uhuijia.appbase.service.BaseService;
import net.uhuijia.software.softwareQcode.persistence.model.SoftwareQcode;
import net.uhuijia.software.softwareQcode.persistence.model.SoftwareQcodeExample;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import net.uhuijia.user.usermall.persistence.model.UserMall;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Service
@Transactional
public interface SoftwareQcodeService
     extends BaseService<SoftwareQcode,SoftwareQcodeExample> {

    String addData(String url,UserMall user,Integer qrcodeSize);

    List<SoftwareQcode> historylist(HttpServletRequest request,UserMall user);

    Integer countUserHistoryRequest(UserMall user);
}